<include file="Public:header"/>

<script type="text/javascript" src="__PUBLIC__/fckeditor/fckeditor.js"></script>
<script type="text/javascript">

   window.onload = function()
   {
      var oFCKeditor = new FCKeditor( 'htmlbody' ) ;
      oFCKeditor.BasePath = "__PUBLIC__/fckeditor/";
 	  oFCKeditor.Width="800";
 	  oFCKeditor.Height="300";
      oFCKeditor.ReplaceTextarea() ;
    }
	function fnOnSubmit(form) 
	{
    	var oEditor = FCKeditorAPI.GetInstance('htmlbody');
    	oEditor.UpdateLinkedField();
	}  
 
</script>
<div class="main-wrap">
	<div class="position">后台管理:&nbsp;&nbsp;公告管理&nbsp;>>&nbsp;<span>添加网站公告</span></div>
	<div class="toolbar">
		<a href="__URL__/add">添加网站公告</a>
	</div>	
    <div class="title">添加网站公告</div>
	<div class="content">
                <form method="post" action="__URL__/add" name="form1">
                <table cellspacing="0" cellpadding="0" border="1">
                    <tr><td>公告标题:</td><td align="left"><input type="text" name="title" id="title" size="80"></td></tr>
                    <tr><td>排序:</td><td align="left"><input type="text" name="orderid" id="orderid" size="20"></td></tr>
                    <tr><td>公告描述:</td><td align="left"><textarea name="htmlbody" id="htmlbody" row="10" cols="80"></textarea></td></tr>
                    <tr><td colspan="2"><input type="submit" class="mybutton" name="add" value="添加信息"></td></tr>
                </table>
                </form>					              
	</div>
    <div class="clear"></div>
</div>

<include file="Public:footer"/>